package com.fsquare.service.invoice;

import java.io.OutputStream;
import java.util.List;

import com.fsquare.domain.invoice.Invoice;

public interface InvoiceService {
	
	public Invoice saveInvoice(Invoice invoice);

    public List<Invoice> readAllInvoices();

    public Invoice readInvoiceById(Long invoiceId);

    public void deleteInvoice(Invoice invoice) ;

    public Invoice create();
    
    public Invoice readInUseInvoice();

    public OutputStream getOrderInvoice(Long orderId, OutputStream outputStream);

}
